package com.yonyougov.devops.cruxcisupport.k8s.rest;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;

/**
 * 获取pod的日志
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "获取Pod名称入参")
public class PodNameRestRequest {
    @ApiModelProperty(required = true, value = "环境名称")
    @NotEmpty
    private String envName;

    @ApiModelProperty(required = true, value = "应用名称")
    @NotEmpty
    private String appName;
}
